import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { PersonInfoPage } from './person-info.page';
import { PhotoComponent } from './photo/photo.component';
import { PhotoEditComponent } from './photo-edit/photo-edit.component';

const routes: Routes = [
  {
    path: '',
    component: PersonInfoPage
  },
  {
    path: 'photo',
    component: PhotoComponent
  },
  {
    path: 'photo-edit',
    component: PhotoEditComponent
  },
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
})
export class PersonInfoPageRoutingModule {}
